package com.bupt.hotel.hvac.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 空调模式枚举
 */
@Getter
public enum ACMode {
    COOLING("COOLING", "制冷"),
    HEATING("HEATING", "制热");

    @EnumValue
    @JsonValue
    private final String value;

    private final String description;

    ACMode(String value, String description) {
        this.value = value;
        this.description = description;
    }
}
